import request from '#/utils/request'

const module = {
    module: 'auth',
};

// 获取验证码
export function getCodeImg() {
    return request.get(`/captchaImage`, {}, module);
}

// 获取验证码
export function login(pream) {
    return request.post(`/login`, pream, module);
}

// 获取验证码
export function info() {
    return request.get(`/info`, {}, module);
}
